package com.fsc.mapper;

import com.fsc.entity.domain.ClassInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 86183
* @description 针对表【class_info(班级信息表)】的数据库操作Mapper
* @createDate 2024-06-02 13:15:22
* @Entity com.fsc.domain.ClassInfo
*/
public interface ClassInfoMapper extends BaseMapper<ClassInfo> {

	/**
	* @description 根据教师id查询班级信息
	* @param teacherId 教师id
	*/
	@Select("select * from class_info where teacher_id = #{teacherId}")
	List<ClassInfo>selectbyTeacherId(Integer teacherId);


}




